package com.ocean.historyProduct.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ocean.common.annotation.Excel;
import com.ocean.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 历史产品对象 o_history_product
 *
 * @author ocean
 * @date 2023-02-13
 */
public class OHistoryProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 产品id */
    @Excel(name = "产品id")
    private String productId;

    /** 产品名 */
    @Excel(name = "产品名")
    private String productName;

    /** 历史检查天数 */
    @Excel(name = "历史检查天数")
    private String historyCheckDays;

    /** 最后更新天数 */
    @Excel(name = "最后更新天数")
    private String lastUpdateDays;

    /** 未更新天数 */
    @Excel(name = "未更新天数")
    private Long notUpdateDays;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setHistoryCheckDays(String historyCheckDays)
    {
        this.historyCheckDays = historyCheckDays;
    }

    public String getHistoryCheckDays()
    {
        return historyCheckDays;
    }
    public void setLastUpdateDays(String lastUpdateDays)
    {
        this.lastUpdateDays = lastUpdateDays;
    }

    public String getLastUpdateDays()
    {
        return lastUpdateDays;
    }
    public void setNotUpdateDays(Long notUpdateDays)
    {
        this.notUpdateDays = notUpdateDays;
    }

    public Long getNotUpdateDays()
    {
        return notUpdateDays;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("productName", getProductName())
            .append("historyCheckDays", getHistoryCheckDays())
            .append("lastUpdateDays", getLastUpdateDays())
            .append("notUpdateDays", getNotUpdateDays())
            .append("createDate", getCreateDate())
            .toString();
    }
}
